package com.gator.desig_mode.combination;


import java.util.HashMap;
import java.util.Map;

/**
 * @author 何章怀晓 hezhanghuaixiao
 * @version V1.0
 * @desc
 */
public class Client {

  public static void main(String[] args) {

    //创建学院
    School college = new College("美术学院", "学画画的");

    School sys = new Sys("美术系", "");
    School sys2 = new Sys("国画系", "");
    School sys3 = new Sys("书法系", "");
    //在美术学院下新增系
    college.add(sys);
    college.add(sys2);
    college.add(sys3);

    //新增班级
    Clazz clazz = new Clazz("美术一班", "第一个班级");
    Clazz clazz2 = new Clazz("国画一班", "第一个班级");
    Clazz clazz3 = new Clazz("书法一班", "第一个班级");
    //系下面新增班级
    sys.add(clazz);
    sys2.add(clazz2);
    sys3.add(clazz3);

    sys.print();


  }
}
